using Volo.Abp.Application.Dtos;

namespace ERP.RepositoryManage.Dtos
{
    /// <summary>
    /// 供应商选择DTO
    /// </summary>
    public class SupplierSelectDto : EntityDto<int>
    {
        /// <summary>
        /// 供应商编码
        /// </summary>
        public string SupplierCode { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string SupplierName { get; set; }

        /// <summary>
        /// 供应商等级
        /// </summary>
        public string SupplierGrade { get; set; }

        /// <summary>
        /// 供应商评分
        /// </summary>
        public int SupplierScore { get; set; }

        /// <summary>
        /// 供应商联系电话
        /// </summary>
        public string SupplierPhone { get; set; }

        /// <summary>
        /// 供应商地址
        /// </summary>
        public string SupplierAdress { get; set; }

        /// <summary>
        /// 是否启用（1：启用，0：禁用）
        /// </summary>
        public int IsNo { get; set; }

        /// <summary>
        /// 启用状态描述
        /// </summary>
        public string StatusName => IsNo == 1 ? "启用" : "禁用";
    }
} 